<?php
/*
 * Created on Sep 16, 2006
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 interface A {}
 class B implements A {}
 class C extends B {}
 
 $obj1 = new B();
 $obj2 = new C();
 
 var_dump($obj1 instanceof A);
 var_dump($obj1 instanceof B);
 var_dump($obj1 instanceof C);
 
 var_dump($obj2 instanceof A);
 var_dump($obj2 instanceof B);
 var_dump($obj2 instanceof C); 
?>
